package com.graduationproject.examonline.notice.mapper;

import com.graduationproject.examonline.notice.entity.Notice;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface NoticeMapper {
    public List<Notice> getNoticeByUserId(String userId);
    public List<Notice> getNoticeByCreateUser(String userId);
    public int updateNotice(Map<String, Object> params);
    public int insertNotice(Map<String, Object> params);
}
